package org.jeecg.modules.storage.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description: 盘点单
 * @Author: jeecg-boot
 * @Date:   2024-08-09
 * @Version: V1.0
 */
@Data
@ApiModel(value="buss_warehouse_inventoryPage对象", description="盘点单")
public class BussWarehouseInventoryDetailVo {

	private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
	@ApiModelProperty(value = "主键")
	private String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private String sysOrgCode;
	/**物料id*/
	@Excel(name = "物料id", width = 15)
	@ApiModelProperty(value = "物料id")
	private String materialId;
	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
	@ApiModelProperty(value = "物料编号")
	private String materialCode;
	/**库存数量*/
	@Excel(name = "库存数量", width = 15)
	@ApiModelProperty(value = "库存数量")
	private java.math.BigDecimal inventoryQuantity;
	/**盘点数量*/
	@Excel(name = "盘点数量", width = 15)
	@ApiModelProperty(value = "盘点数量")
	private java.math.BigDecimal quantity;
	/**盈亏数量*/
	@Excel(name = "盈亏数量", width = 15)
	@ApiModelProperty(value = "盈亏数量")
	private java.math.BigDecimal breakevenQuantity;
	/**备注*/
	@Excel(name = "备注", width = 15)
	@ApiModelProperty(value = "备注")
	private String remark;
	/**是否关闭*/
	@Excel(name = "是否关闭", width = 15)
	@ApiModelProperty(value = "是否关闭")
	private Integer isClose;
	/**盘点表id*/
	@ApiModelProperty(value = "盘点表id")
	private String mainId;

	private String materialName;

	private String noneSpec;

	@Dict(dicCode = "ji_unit")
	private String meUnit;

	private String auUnit;

//	@Dict(dicCode = "erp_goods_classification,name,id")
	@Dict(dictTable = "erp_goods_classification", dicText = "name", dicCode = "id")
	private String classificationId;

}
